[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 23 May 2024 12:09:03 +0000 (15:09 +0300)
committerAndrej Shadura <andrewsh@debian.org>
Tue, 20 Jan 2026 10:45:10 +0000 (11:45 +0100)
commit35efa4f92dbf717411cab0134339b0de45b43a90
tree888df2ff63a80544e6e8eddaa3250bc1a2de8930
parentab8a3da0209ce1394e5a02112226ed342fdaa1fe
[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2)
(cherry picked from commit 4762b365406a8cf026a4a4ddcae34c28a41c3de9)

Gbp-Pq: Name CVE-2025-1795-2.patch
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py